package test02;

/**
 * @Author czl
 * @Date 2024-04-16
 */
public class Grade {
    private String value;

    public Grade(){

    }
    public Grade(String value){
        this.value=value;
    }

    public static final Grade A = new Grade("优秀");
    public static final Grade B = new Grade("良好");
    public static final Grade C = new Grade("中等");
    public static final Grade D = new Grade("合格");
    public static final Grade E = new Grade("不合格");

    @Override
    public String toString() {
        return this.value;
    }
}
